<template>
  <maincontainer>
    <mycard class='flex-shrink-0'>
      <div class='w-full h-20 flex justify-between items-center p-2'>
        <div>
          <span>今天你还没有打卡呢</span>
        </div>
        <n-button class='w-400px h-1/2' type='info'>打卡</n-button>
      </div>
    </mycard>
    <rili>
      <template v-slot='{year,month,day,week,timestamp}'>
        <span>{{year+"-"+month+"-"+day+"---"+week+":"+timestamp}}</span>
      </template>
    </rili>
  </maincontainer>
</template>

<script setup name="Mykaoqin" lang="ts">
import rili from "./rili.vue"
import {inject} from "vue";

const zhucefunc:Function|undefined = inject("zhuceshuaxinfunc")
// 初始化函数
const init = () => {
}

// 初始化区域
init()
zhucefunc && zhucefunc({[route.name!.toString()]:init})
</script>

<style scoped>

</style>